﻿using com.guojin.core.io.message;
using com.guojin.core.io;

namespace com.guojin.mj.net.message.login
{
    public class ToSeeDaiRu : Message
    {
        public static int TYPE = 7;
        public static int ID = 158;
        private int clubId;

        public int ClubId
        {
            get
            {
                return clubId;
            }

            set
            {
                clubId = value;
            }
        }
        public static ToSeeDaiRu Create(int id) {
            ToSeeDaiRu te = new ToSeeDaiRu();
            te.clubId = id;
            return te;
        }
        public void decode(core.io.Input _in)
        {

        }

        public void encode(Output _out)
        {
            _out.writeInt(clubId);
        }

        public int getMessageId()
        {
            return ID;
        }

        public int getMessageType()
        {
            return TYPE;
        }

        public string toString()
        {
            return "";
        }
    }
}
